@import './variables.scss';
@import './element-variables.scss';

/*element-ui重置*/

.question_content {
    .el-tabs--card {
        .el-tabs__header {
            border-bottom: 0px !important;
        }
    }
    .el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
        border: 1px solid $--color-default
    }
    .el-tabs--card>.el-tabs__header .el-tabs__item {
        border: 1px solid $--color-default
    }
    .el-tabs--card>.el-tabs__header .el-tabs__nav {
        border: 0;
    }
    .el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
        background-color: $--color-default;
        color: #fff;
        border: 1px solid $--color-default;
    }
    .el-tabs__item {
        margin-right: 20px;
        height: 30px;
        line-height: 30px;
        border-radius: 6px;
        border: 1px solid $--color-default;
        font-weight: 350
    }
    .el-tabs__item:hover {
        color: #fff;
        background-color: $--color-default;
    }
    .el-radio.is-bordered.is-checked {
        border-color: $--color-default;
        background-color: $--color-default;
    }
    .el-radio__input.is-checked+.el-radio__label {
        color: #fff;
    }
}

.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active {
    color: $--color-default;
}

.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover {
    color: $--color-default;
    background-color: #fff;
}

.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left,
.el-tabs--border-card {
    border: 0;
}

.el-tabs--border-card>.el-tabs__header {
    background-color: #f9f9f9;
}

.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active {
    border: 0;
}


/* Treeselect */

.treeselect-main {
    width: 42%;
    line-height: 28px;
    .vue-treeselect__placeholder {
        line-height: 28px;
    }
    .vue-treeselect__control {
        height: 28px;
    }
}

.el-pagination.is-background .el-pager li:not(.disabled).active {
    background-color: $--color-default !important
}

.el-table .el-table__header-wrapper th,
.el-table .el-table__fixed-header-wrapper th {
    background-color: #eaeaea !important
}